<template>
    <el-table
            :data="vist"
            height="600"
            border
            style="width: 100%">
            <el-table-column
                prop="date"
                label="未在寝人员"
                width="180">
            <el-table-column
                    prop="name"
                    label="姓名"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="classes"
                    label="班级"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="teacher"
                    label="辅导员"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="address"
                    label="原因">
            </el-table-column>
        </el-table-column>
    </el-table>
</template>
<script>
    export default {

        data() {
            return {
                vist: [{
                    name: '宋定鑫',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '上网未归'
                }, {
                    name: '郭德峻',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '未知'
                }, {
                    name: '赵飞',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '富婆包养，至今未归'
                }, {
                    name: '蔺思卓',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '嫖娼被抓'
                }, {
                    name: '熊天赐',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '嫖娼被抓'
                }, {
                    name: '郭旭',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '嫖娼被抓'
                }, {
                    name: '张鹏',
                    classes: '17级Java1班',
                    teacher: '张雨',
                    address: '嫖娼被抓'
                }]
            }
        }

    }

</script>
<style>

</style>